<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>教程: Hello Dojo! - Waiting for the DOM</title>
</head>
<body>
<h1 id="greeting">Hello</h1>
<!-- 载入 Dojo -->
<script src="//lib.sinaapp.com/js/dojo/1.10.0/dojo.js"
        data-dojo-config="isDebug:1, async:1"></script>
<script>
    require([
        'dojo/dom',
        'dojo/domReady!'
    ], function (dom) {
        var greeting = dom.byId('greeting');
        greeting.innerHTML += ' from Dojo!';
    });
</script>
</body>
</html>